Livechart API + Data Science packages
Version 0

Pandas and Plotly

Providing a straightforward way to analyse data, these packages are widely used in machine learning.
Pandas is one of the most used libraries for data manipulation: https://pandas.pydata.org
Plotly http://plotly.com is a package for interactive data visualization, here how to get it work with jupyter lab

API Quick how-to

The service URL is nds.iaea.org/relnsd/v0/data? followed by parameters. For example:
nds.iaea.org/relnsd/v0/data?fields=decay_rads&nuclides=241am&rad_types=g.
The API v0 guide gives the detailed description, but the examples below are self explanatory

Examples

First import the libraries and set the Livechart API service

! Warning !

There have been cases in which the service returns an HTTP Error 403: Forbidden
In this case use the following workaround

Plot γ energy vs intensity for Am-241 decay

fields=decay_rads specifies to retrieve the decay radiations, nuclides=241am specifies the parent of the decay (241am), rad_types=g for the radiation type (gamma).
On the plot below, mouseover the points to see the data. Zoom an pan are enabled, and the option to save as png is is activated when the mouse is over the top-right

Plot Log FT vs Transition type for Nb-100 decay

The fields to be retieved are decay_rads, the nuclide is 100-Nb, and the radiation type is bm
In this case, only the relevant fields are loaded into the dataset; then data are grouped by transition, binned, and plotted

The transition types in the plot legend are not decoded. A stands for Allowed, 1NU for 1st non unique, ...

Apply further filters once the data are loaded

The pandas query function acts on the loaded dataset.
To plot the Half-life of Ac isotopes, apply the query function to the column symbol to extract the Ac isotopes

.query('symbol=="Ac"')

3D and 2D plots of fission yields

Use the mouse to rotate and zoom

Column titles and samples of the available sets

Ground state

Level
Note the "X" in the energy_shift field for the 2nd level, and the value in the "ripl_shift" column (see the API guide for the meaning of the shift)

Gamma

Cumulative fission

Independent fission

Decay radiation